JNI (Java Native Interface) Generation

The Java Native Interface generator can be called

- explicitly on the command line by entering

gmake jni .
- automatically with each Java compiler make command.
If you want automatic JNI support, change the following line in the <sniff_installation_dir>/make_support/general.java.mk file:
JNI_SUPPORT = 0
to
JNI_SUPPORT = 1

| Caution
| If the word "Native" appears in Javadoc comments ( **/...*/) , the file containing this comment is also native compiled and an empty file <classname>.h is created.

- To delete JNI generated files, enter
gmake clean on the command line, or choose
Target > Make > clean if you are using SNiFF+ Make Support.